package ru.acme.lab08.task5;

class Task5 {
	public static void main(String[] argv) {
		if (argv.length < 1) {
			System.out.println("String argument is needed");
			return;
		}
		for (int i = 0; i < argv[0].length(); ++i) {
			if (Character.isDigit(argv[0].charAt(i))) {
				continue;
			}
			if ((argv[0].charAt(i) == '+') || (argv[0].charAt(i) == '-')) {
				System.out.print(argv[0].charAt(i));
			}
			System.out.print(argv[0].charAt(i));
		
		}
	}
}